/*
moxl - Modular XML Library
Copyright (c) 2007, Malcolm Sparks

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/
package moxl.xpath.tokenizer;

import moxl.tokenizer.TokenType;

public enum XPathTokenTypes implements TokenType 
{
    AXIS_NAME("axis-name"),

	OPEN_PARENTHESIS("open-parenthesis"),
	CLOSE_PARENTHESIS("close-parenthesis"),

	OPEN_BRACKET("open-bracket"),
	CLOSE_BRACKET("close-bracket"),

	AT_SYMBOL("at-symbol"),
	COMMA("comma"),
	DOUBLE_COLON("double-colon"),
	PERIOD("period"),
	DOUBLE_PERIOD("double-period"),

	ILLEGAL_CHARACTER("illegal"),

	NODE_TYPE("node-type"),
	FUNCTION_NAME("function-name"),

	NAME_TEST("name-test"),
	VARIABLE_REFERENCE("variable-reference"),

	OPERATOR("operator"),
	NUMBER("number"),
	LITERAL("literal"),
		WHITESPACE("whitespace");

	String label;
	
	XPathTokenTypes(String label){
		this.label = label;
		
	}

	public String getLabel()
    {
	    return label;
    }
}
